{include file="public/header" /}
<div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>新加授权 <small>授权管理</small></h5>
                        <div class="ibox-tools">
                            <a href="{:url('wx/admin/auth')}" class="collapse-link btn btn-info btn-xs" style="color:#fff;">
                               返回列表
                            </a>
                        </div>
                    </div>
                    <div class="ibox-content">
                        <form method="post" class="form-horizontal cmzForm" action="/wx/ajax/auth.html">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">公司名（主体名）</label>
                                <div class="col-sm-10">
                                    <input type="text" name="name" value="{$name}" class="form-control"> <span class="help-block m-b-none"></span>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">token</label>
                                <div class="col-sm-10">
                                    <input type="text" name="token" value="{$token}" class="form-control"> <span class="help-block m-b-none"></span>
                                </div>
                            </div>

                             <div class="form-group">
                                <label class="col-sm-2 control-label">encodingaeskey</label>
                                <div class="col-sm-10">
                                    <input type="text" name="encodingaeskey" value="{$encodingaeskey}" class="form-control"> <span class="help-block m-b-none"></span>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">appid</label>
                                <div class="col-sm-10">
                                    <input type="text" name="appid" value="{$appid}" class="form-control"> <span class="help-block m-b-none"></span>
                                </div>
                            </div>


                            <div class="form-group">
                                <label class="col-sm-2 control-label">appsecret</label>
                                <div class="col-sm-10">
                                    <input type="text" name="appsecret" value="{$appsecret}" class="form-control"> <span class="help-block m-b-none"></span>
                                </div>
                            </div>


                           
                             
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">备注:</label>
                                <div class="col-sm-10">
                                <textarea name="remark" id="" cols="30" rows="3" class="form-control">{$remark}</textarea>
                                     <span class="help-block m-b-none">管理员备注</span>
                                </div>
                            </div>
                             <div class="form-group">
                                <label class="col-sm-2 control-label">状态:</label>
                                <div class="col-sm-10">
                                     <select name="status" id="" class=" btn btn-white btn-sm form-control" >
                                                    <option value="1" <?php if($status==1){ echo "selected='selected'";} ?>>开启</option>
                                                    <option value="2" <?php if($status==2){ echo "selected='selected'";} ?>>关闭</option>
                                                </select>
                                    <span class="help-block m-b-none">管理员填写状态</span>
                                </div>
                            </div>
                          
                           
                            <input type="hidden" name="id" value="{$id}">
                            <div class="form-group">
                                <div class="col-sm-4 col-sm-offset-2">
                                    <a class="btn btn-primary cmzPost" type="submit" returnurl="{:url('wx/admin/auth')}">提交</a>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
  {include file="public/footer" /}